export {}

// 1. type不能重复定义

// type Person = {
//   name: string
// }

// type Person = {
//   age: number
// }

// 2. interface 重复定义的时候会合并

interface Person {
  name: string
}

interface Person {
  age: number
}

const person: Person = {
  name: '张三',
  age: 18
}
